package com.wangyang.stock.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Storehouse entity. @author MyEclipse Persistence Tools
 */

public class Storehouse implements java.io.Serializable {

	// Fields

	private Integer storehouseId;
	private Employee employee;
	private String storehouseName;
	private Integer storehouseTel;
	private String storehouseAdd;
	private String storehouseMemo;
	private Set merchandises = new HashSet(0);
	private Set invoices = new HashSet(0);

	// Constructors

	/** default constructor */
	public Storehouse() {
	}

	public Storehouse(Integer storehouseId) {
		this.storehouseId = storehouseId;
	}

	/** full constructor */
	public Storehouse(Employee employee, String storehouseName,
			Integer storehouseTel, String storehouseAdd, String storehouseMemo,
			Set merchandises, Set invoices) {
		this.employee = employee;
		this.storehouseName = storehouseName;
		this.storehouseTel = storehouseTel;
		this.storehouseAdd = storehouseAdd;
		this.storehouseMemo = storehouseMemo;
		this.merchandises = merchandises;
		this.invoices = invoices;
	}

	// Property accessors

	public Integer getStorehouseId() {
		return this.storehouseId;
	}

	public void setStorehouseId(Integer storehouseId) {
		this.storehouseId = storehouseId;
	}

	public Employee getEmployee() {
		return this.employee;
	}

	public void setEmployee(Employee employee) {
		this.employee = employee;
	}

	public String getStorehouseName() {
		return this.storehouseName;
	}

	public void setStorehouseName(String storehouseName) {
		this.storehouseName = storehouseName;
	}

	public Integer getStorehouseTel() {
		return this.storehouseTel;
	}

	public void setStorehouseTel(Integer storehouseTel) {
		this.storehouseTel = storehouseTel;
	}

	public String getStorehouseAdd() {
		return this.storehouseAdd;
	}

	public void setStorehouseAdd(String storehouseAdd) {
		this.storehouseAdd = storehouseAdd;
	}

	public String getStorehouseMemo() {
		return this.storehouseMemo;
	}

	public void setStorehouseMemo(String storehouseMemo) {
		this.storehouseMemo = storehouseMemo;
	}

	public Set getMerchandises() {
		return this.merchandises;
	}

	public void setMerchandises(Set merchandises) {
		this.merchandises = merchandises;
	}

	public Set getInvoices() {
		return this.invoices;
	}

	public void setInvoices(Set invoices) {
		this.invoices = invoices;
	}

}